import request from '@/utils/request'
// 查询 活动列表
export function listActivity(query) {
    return request({
        url: '/dts/massWedding/list',
        method: 'get',
        params: query
    })
}

// 查询 详细
export function getActivity(id) {
    return request({
        url: '/dts/massWedding/' + id,
        method: 'get'
    })
}

// 新增 
export function addActivity(data) {
    return request({
        url: '/dts/massWedding',
        method: 'post',
        data: data
    })
}

// 修改 
export function updateActivity(data) {
    return request({
        url: '/dts/massWedding',
        method: 'put',
        data: data
    })
}

// 删除 
export function delActivity(id) {
    return request({
        url: '/dts/massWedding/' + id,
        method: 'delete'
    })
}

// 查询 集体婚礼报名列表
export function listMassWeddingRegistration(query) {
    return request({
        url: '/dts/weddingRegin/list',
        method: 'get',
        params: query
    })
}
// 查询 集体婚礼 详细
export function getMassWeddingRegistration(id) {
    return request({
        url: '/dts/weddingRegin/' + id,
        method: 'get'
    })
}
// 新增 
export function addMassWeddingRegistration(data) {
    return request({
        url: '/dts/weddingRegin',
        method: 'post',
        data: data
    })
}
// 修改 集体婚礼报名
export function updateMassWeddingRegistration(data) {
    return request({
        url: '/dts/weddingRegin',
        method: 'put',
        data: data
    })
}

// 删除 集体婚礼报名
export function delMassWeddingRegistration(id) {
    return request({
        url: '/dts/weddingRegin/' + id,
        method: 'delete'
    })
}

// 查询 集体婚礼精彩集锦 列表
export function listAlbum(query) {
    return request({
        url: '/dts/WeddingLookMage/list',
        method: 'get',
        params: query
    })
}

// 查询 集体婚礼精彩集锦 详细
export function getAlbum(id) {
    return request({
        url: '/dts/WeddingLookMage/' + id,
        method: 'get'
    })
}
// 新增 集体婚礼精彩集锦 
export function addAlbum(data) {
    return request({
        url: '/dts/WeddingLookMage',
        method: 'post',
        data: data
    })
}
// 修改集体婚礼精彩集锦 
export function updateAlbum(data) {
    return request({
        url: '/dts/WeddingLookMage',
        method: 'put',
        data: data
    })
}

// 删除 集体婚礼精彩集锦 
export function delAlbum(id) {
    return request({
        url: '/dts/WeddingLookMage/' + id,
        method: 'delete'
    })
}